# 输入一个三行四列的矩形
# 控制列
for i in range(1, 4):
    # 控制行
    for j in range(1, 5):
        print('*', end='\t')  # end不换行输出
    print()


for y in range(1, 10):
    for z in range(1, y+1):
        print(y, '*', z, '=', y*z, end='\t')
    print()
